<template>
    <div>
        <child />
    </div>
</template>
<script>
import { defineAsyncComponent, ref, onMounted } from 'vue';
const child = defineAsyncComponent(() => import('./loading.vue'))
export default {
    components: {
        child
    },
    setup() {

        onMounted(() => {
            console.log('text')
        })
    }
}
</script>